package com.ehome.poct.core.api.dto.order;

import com.ehome.core.annotations.FastQry;
import com.ehome.core.constant.FilterRules;
import com.ehome.core.entity.Qry;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 价格方案
 *
 * @author muqiu
 * @since 2022/07/01 14:30
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("新增设备Command")
public class PriceProfitSchemeDTO extends Qry {
    /**
     * 价格利润方案名称
     */
    @ApiModelProperty("价格利润方案名称")
    @FastQry(value = FilterRules.LIKE)
    private String priceProfitSchemeName;

    /**
     * 价格方案ID
     */
    @ApiModelProperty("价格方案ID ")
    private Long testStripPriceProfitSchemeId;
    /**
     * 开始时间
     */
    @ApiModelProperty("开始时间")
    @FastQry(value = FilterRules.BETWEEN_START,field = "createTime")
    private LocalDateTime startTime;
    /**
     * 结束时间
     */
    @ApiModelProperty("结束时间")
    @FastQry(value = FilterRules.BETWEEN_END,field = "createTime")
    private LocalDateTime endTime;

    @ApiModelProperty("是否活动方案")
    @FastQry(value = FilterRules.NEQ)
    private Integer isActivity;
}
